//
//  ClubCareCell.m
//  Shengzhuli
//
//  Created by subook on 2017/7/24.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "ClubCareCell.h"

@implementation ClubCareCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        [self createUI];
        
    }
    
    return self;
}
- (void)createUI{
    
    self.clubLogoImageview = [[UIImageView alloc] initWithFrame:(CGRectMake(10, 10, 100, 100))];
    self.clubLogoImageview.layer.cornerRadius = self.clubLogoImageview.frame.size.width/2;
    self.clubLogoImageview.layer.masksToBounds = YES;
    [self.contentView addSubview:self.clubLogoImageview];
    
    
    self.clubIntroductionLabel = [[UILabel alloc] initWithFrame:(CGRectMake(120, self.clubLogoImageview.frame.size.height/2-15, ScreenW-110, 30))];
    [self.contentView addSubview:self.clubIntroductionLabel];
    
}
@end
